home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / MWCIncludes / CRMSerialDevices.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-31  |  1.6 KB  |  72 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        CRMSerialDevices.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __CRMSERIALDEVICES__
  13. #define __CRMSERIALDEVICES__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. /*    #include <ConditionalMacros.h>                                */
  18. /*    #include <MixedMode.h>                                        */
  19. /*        #include <Traps.h>                                        */
  20. #endif
  21.  
  22. enum  {
  23. /*     for the crmDeviceType field of the CRMRec data structure    */
  24.     crmSerialDevice                = 1,
  25. /*    version of the CRMSerialRecord below    */
  26.     curCRMSerRecVers            = 1
  27. };
  28.  
  29.  
  30. /* Maintains compatibility w/ apps & tools that expect an old style icon    */
  31.  
  32. #if defined(powerc) || defined (__powerc)
  33. #pragma options align=mac68k
  34. #endif
  35. struct CRMIconRecord {
  36.     long                        oldIcon[32];                    /* ICN#    */
  37.     long                        oldMask[32];
  38.     Handle                        theSuite;                        /* Handle to an IconSuite    */
  39.     long                        reserved;
  40. };
  41. #if defined(powerc) || defined(__powerc)
  42. #pragma options align=reset
  43. #endif
  44.  
  45. typedef struct CRMIconRecord CRMIconRecord;
  46.  
  47. typedef CRMIconRecord *CRMIconPtr, **CRMIconHandle;
  48.  
  49. #if defined(powerc) || defined (__powerc)
  50. #pragma options align=mac68k
  51. #endif
  52. struct CRMSerialRecord {
  53.     short                        version;
  54.     StringHandle                inputDriverName;
  55.     StringHandle                outputDriverName;
  56.     StringHandle                name;
  57.     CRMIconHandle                deviceIcon;
  58.     long                        ratedSpeed;
  59.     long                        maxSpeed;
  60.     long                        reserved;
  61. };
  62. #if defined(powerc) || defined(__powerc)
  63. #pragma options align=reset
  64. #endif
  65.  
  66. typedef struct CRMSerialRecord CRMSerialRecord;
  67.  
  68. typedef CRMSerialRecord *CRMSerialPtr;
  69.  
  70. #endif
  71.  
  72.